package com.kingdee.eas.mx.ws;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class WriteoffFactory
{
    private WriteoffFactory()
    {
    }
    public static com.kingdee.eas.mx.ws.IWriteoff getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.mx.ws.IWriteoff)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("7BC98A11") ,com.kingdee.eas.mx.ws.IWriteoff.class);
    }
    
    public static com.kingdee.eas.mx.ws.IWriteoff getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.mx.ws.IWriteoff)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("7BC98A11") ,com.kingdee.eas.mx.ws.IWriteoff.class, objectCtx);
    }
    public static com.kingdee.eas.mx.ws.IWriteoff getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.mx.ws.IWriteoff)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("7BC98A11"));
    }
    public static com.kingdee.eas.mx.ws.IWriteoff getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.mx.ws.IWriteoff)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("7BC98A11"));
    }
}